From: Adel Gadllah Date: Mon, 22 Feb 2010 22:40:01 +0000 (+0100) Subject: Fix demands attention to work with new messagetray api X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10408 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e6b80927ad385e0a5a73f36bd9e96596b09bf503;p=gnome-shell.git Fix demands attention to work with new messagetray api --- diff --git a/js/ui/windowAttentionHandler.js b/js/ui/windowAttentionHandler.js index 58a2c08a6..8e0228b3d 100644 --- a/js/ui/windowAttentionHandler.js +++ b/js/ui/windowAttentionHandler.js @@ -71,7 +71,7 @@ WindowAttentionHandler.prototype = { source.connect('clicked', Lang.bind(this, function() { source.destroy(); })); } - let notification = new MessageTray.Notification(source, this._getTitle(app, window), this._getBanner(app, window), true); + let notification = new MessageTray.Notification(window.get_startup_id(), source, this._getTitle(app, window), this._getBanner(app, window), true); source.notify(notification); window.connect('notify::title', Lang.bind(this, function(win) {